import { useNavigate } from 'react-router-dom';
import IcLogo from '../../../image/ic-logo.png';
import style from './Bar.module.scss';

const Bar = () => {
  const navigate = useNavigate();

  return (
    <div className={style.self}>
      <img className={style.clickable} src={IcLogo} onClick={() => navigate("/")} />
    </div>
  );
};

export default Bar;
